package com.wkk.yuli.annotation;

import java.lang.annotation.*;

/**
 * @author : WangKeKe
 * @date : 2020/9/25 13:44
 * Description :  实现不同的清除策略
 */


@Documented
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ClearPolicy {

    String policy() default "FIFO";

    boolean open() default true;
}
